package com.iqiyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.iqiyi.domain.Region;
import com.iqiyi.service.RegionService;
import com.iqiyi.mapper.RegionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 11757
* @description 针对表【region】的数据库操作Service实现
* @createDate 2022-12-17 12:14:48
*/
@Service
public class RegionServiceImpl extends ServiceImpl<RegionMapper, Region>
    implements RegionService{
    @Resource
    private RegionMapper regionMapper;

    public List<Region> findAll(){
        List<Region> regions=regionMapper.findAll();
        return regions;
    }
}




